﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DELVE_GAME.ViewStructure.GameActions
{
    class CloseProfileChoicesGameAction : GameAction
    {
        View view;
        int playerIndex;
        int profileIndex;

        public CloseProfileChoicesGameAction(View targetView, int pIndex, int prIndex)
        {
            view = targetView;
            playerIndex = pIndex;
            profileIndex = prIndex;

        }

        public override void doAction()
        {
            view.selectProfile(playerIndex, profileIndex);
        }
    }
}
